<%-- 
    Document   : index
    Created on : Dec 29, 2011, 3:07:27 PM
    Author     : user
--%>

<%@page import="java.util.HashMap"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@include file="../jspf/header.jspf" %>

<div style="width: 100%">
    <p class="pageTitle"><strong>Continut</strong></p>
    <br />
    <div class="txt1" style="width: 100%"><b>Lista paginilor info de pe
            VisionAlarm.ro</b>
        <hr />
    </div>

    <%@include file="../jspf/message.jspf" %>

    <form id="frmContent" name="frmContent" method="post"
          action="admin/content?action=show">
        <div style="margin-top: 15px"><select style="width: 220px" name="pages">
                <%
                            ArrayList pages = (ArrayList) session.getAttribute(Static.pages);
                            int size = pages.size();
                            for (int i = 0; i < size; i++) {
                                HashMap p = (HashMap) pages.get(i);
                                out.println("<option value=\"" + p.get("ContentID") + "\">" + p.get("Page") + "</option>");
                            }
                %>

            </select> <input type="image" class="button" name="submit" value=""
                             src="img/site/go_button.png" style="width: 25px; margin-bottom: 10px" title="Modifica pagina"/></div>
    </form>

    <div class="divProductsList Bottom">
        <hr />
    </div>
    <div></div>
</div>

<%@include file="../jspf/footer.jspf" %>
